<template>
  <div class="box">
    <div class="header">
      <van-icon name="arrow-left" size="23" @click="backClick" />
      <h3>购物车</h3>
      <span>编辑</span>
    </div>
    <div class="match">
      <span>再买￥299.00自营商品可免运营费</span>
      <span class="text"
        >去凑单
        <van-icon name="arrow" />
      </span>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  methods: {
    backClick() {
      this.$router.push("/home/sort");
    },
  },
};
</script>
<style scoped>
.box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header {
  height: 50px;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 0 10px;
  box-sizing: border-box;
  background-color: #3f3f3f;
  justify-content: space-between;
}
.match {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  padding: 0 13px;
  font-size: 14px;
  color: #fbe7e8;
  background-color: #ee8786;
  box-sizing: border-box;
}
.match .text {
  display: flex;
  align-items: center;
}
</style>